<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<%@page import="java.sql.Date" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>CADASTRAR COMPRA DIRETA</title>
</head>
<body>
<f:view>
	<f:subview id="titulo">
		<c:import url="/seguro/FragmentoTitulo.jsp"></c:import>
	</f:subview>
	<br><br>
	<f:subview id="usuarioLogado">
		<c:import url="/seguro/FragmentoUsuarioLogado.jsp"></c:import>
	</f:subview>
	<br>
	<center>
	<h:outputFormat value="CADASTRAR COMPRA DIRETA" style='color: #FFFFFF; font-style: normal; font-size: 24px; font-family: "Book Antiqua", "Times New Roman", Serif; text-decoration: underline; border-top-style: solid; letter-spacing: 6px; text-align: center; background-color: #000000; border-right-style: solid; border-bottom-color: #EAE02D; border-bottom-style: solid; border-left-color: #EAE02D; border-top-color: #EAE02D; border-right-color: #EAE02D; border-left-style: solid; background-position: center center'>
		<f:param value=""></f:param>
	</h:outputFormat>
	</center>
	<br>
	<br>
	<center>
	<h:outputFormat value="Passo 1 de 6: Convidar Fornecedor" style="text-decoration: underline; background-color: #EAE02D; color: DarkBlue; letter-spacing: normal; word-spacing: normal; text-align: right; font-weight: bold">
		<f:param value=""></f:param>
	</h:outputFormat>
	<br>
	<br>
	<h:messages style="border-bottom-style: solid; border-top-style: solid; color: #FF0000; border-left-style: solid; background-color: #FFD5D5; border-right-style: solid"></h:messages>
	</center>
	<center>
	<h:form style="width: 777px">
		<h:panelGrid border="0" columns="3" style="width: 705px" id="numPedidoPainelGrid" rendered="true">			
			<h:outputLabel value="CNPJ ou CPF do Fornecedor:" id="fornecedorLabel" rendered="true" style="font-weight: bold"></h:outputLabel>
			<h:inputText style="width: 303px" value="#{inexigibilidadeDispensaBean.cnpjcpf}" required="true"></h:inputText>
			<h:panelGroup style="clear: left; position: relative; left: 0px; width: 167px">
				<h:commandButton value="Pesquisar pelo nome" action="pesquisarFornecedorPeloNome" immediate="true" image="/img/IconeLupa.jpeg"></h:commandButton>
				<h:commandLink action="pesquisarFornecedorPeloNome" immediate="true">
					<h:outputLabel value="Pesquisar pelo nome" style="background-position: left center; font-size: 12px"></h:outputLabel>
				</h:commandLink>
			</h:panelGroup>
			<h:outputLabel value="" id="vazio1Label" rendered="true"></h:outputLabel>
			<h:outputLabel value="" id="vazio2Label" rendered="true"></h:outputLabel>
			<h:commandLink action="cadastrarFornecedor" immediate="true">
				<h:outputText value="Cadastrar fornecedor"></h:outputText>
			</h:commandLink>
		</h:panelGrid>
		<br><br>
		<h:panelGrid border="0" columns="2">
			<h:commandButton label="Cancelar" id="cancelaButton" value="Cancelar" action="cancelar" immediate="true"></h:commandButton>
			<h:commandButton label="Avancar" value="Avancar" id="avancarButton" action="#{inexigibilidadeDispensaBean.convidaFornecedor}"></h:commandButton>
		</h:panelGrid>
	</h:form>
	</center>
</f:view>
</body>
</html>